from textblob import TextBlob

'''
text ="The titular threat of The Blob has always struck me as the ultimate movie monster: an insatiably hungry, amoeba-like mass able to penetrate virtually any safeguard, capable of--as a doomed doctor chillingly describes it--assimilating flesh on contact. Snide comparisons to gelatin be damned, it's a concept with the most devastating of potential consequences, not unlike the grey goo scenario proposed by technological theorists fearful of artificial intelligence run rampant."

blob = TextBlob(text)
blob.tags
blob.noun_phrases
for sentence in blob.sentences:
    print(sentence.sentiment.polarity)

blob.translate(to="es")  # 'La amenaza titular de The Blob...'
'''

testimonial = TextBlob("Textblob is amazingly simple to use. What great fun!")
testimonial.sentiment
print(testimonial.sentiment)